#pragma once
#include <osg/Vec3d>

#include "CmdHandler3.h"

struct StretchData;
class Ent;

class Stretch3DHandler : public CmdHandler3
{
	Q_OBJECT
public:
	Q_INVOKABLE Stretch3DHandler();
	~Stretch3DHandler();

	virtual void input(const QVariant& data, const QString& rawInput, CommandSource cs) override;

	osg::Vec3d m_start;
	osg::Vec3d m_end;
	std::vector<StretchData> m_stretchDatas;
};
